package com.pay.domain.entity;

import com.pay.common.domain.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;

/** 银行信息表
 * @author Evan
 * @date 2018/2/4
 */
@Entity
@EntityListeners(Bank.class)
public class Bank extends IdEntity {

    @Column(columnDefinition = "varchar(255) NOT NULL comment '银行名称'")
    private String bankName;

    @Column(columnDefinition = "varchar(50) NOT NULL comment '银行代码'")
    private String bankCode;

    @Column(columnDefinition = "int(3) NOT NULL comment '是否显示，0：不显示，1：显示' default 1")
    private Integer showStatus;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }
}
